package hlhj.fhp.checkpoint.adp

import android.support.v4.app.Fragment
import android.support.v4.app.FragmentManager
import android.support.v4.app.FragmentPagerAdapter

/**
 * Created by Never Fear   on 2018\11\6 0006.
Never More....
 */
class HomePagerAdp(fm:FragmentManager,private val fgmLists:ArrayList<Fragment>) :FragmentPagerAdapter(fm) {

    override fun getItem(position: Int): Fragment {
        return fgmLists[position]
    }

    override fun getCount(): Int {
        return fgmLists.size
    }
}